package top.dingwen.io.treasure.api.base.constant;

/**
 * Api常量
 *
 * @author dingwen
 * @since 2025/04/24
 */
@SuppressWarnings(ApiConstant.ALL)
public final class ApiConstant {

    /**
     * 默认
     */
    public static String DEFAULT = "default";

    /**
     * 抑制所有
     */
    public static final String ALL = "all";

    /**
     * 空字符串
     */
    public static final String EMPTY = "";

    /**
     * 日志打印前缀
     */
    public static final String API_LOG_P_S = "[api]基础场景启动器";
    public static final String API_LOG_P_DIC_C = "[IDictConvertor]字典转换器";
    public static final String API_LOG_P_DE_FILE = "[DefaultFileOperator]默认文件操作类";
    public static final String API_LOG_P_DE_LU = "[DefaultLoadUserImpl]默认加载用户组件";
    public static final String API_LOG_P_LU_FA = "[LoadUserFactory]加载用户工厂组件";
    public static final String API_LOG_P_CUS = "[ICurrentUserService]当前用户实现";
    public static final String API_LOG_P_DCS = "[DefaultClientService]默认客户端服务实现";

    /**
     * 加载用户组件后缀
     */
    public static final String LOAD_USER_COMPONENT_PREFIX = "LoadLoadUserComponent";


    /**
     * anonymous用户
     */
    public static final String ANONYMOUS_LOGIN_NAME = "anonymous";
    public static final Long ANONYMOUS_LOGIN_ID = 0L;

    /**
     * 默认租户编号
     */
    public static final Long D_T_ID = 0L;
    public static final String D_T_ID_STR = "0";
    /**
     * 默认账号
     */
    public static final String D_ACCOUNT = "anonymous";

    /**
     * 默认客户端编码
     */
    public static final String D_C_CODE = "e5cd7e4891bf95d1d19206ce24a7b32e";

    /**
     * 默认租户数据源名称
     */
    public static final String D_T_DS_NAME = "default";

}
